<?php
namespace app\manage\validate;

use think\Validate;

/**
 * 行为验证器
 * @package app\menus\validate
 * @author
 */
class Goodscats extends Validate
{
    //定义验证规则
    protected $rule = [
        'name|分类名称'  => 'require',
        'sort|排序'=>'number|between:1,99',
        'logo|图标' => 'require',
        'pid|上级分类' => 'require',
    ];
}
